<template>
  <div>
    <slot></slot>
    <k-table-header :columns="columns" :data="data"></k-table-header>
    <table ref="table">
      <k-table-body :columns="columns" :data="data"></k-table-body>
    </table>
  </div>
</template>
<script>
import KTableHeader from './KTable-header.vue'
import KTableBody from './KTable-body.js'
export default {
  props: {
    data: Array,
  },
  data() {
    return {
      columns: [],
    }
  },
  components: {
    KTableHeader,
    KTableBody,
  },
}
</script>
